export interface DropMenu {
	onClick?: Fn;
	to?: string;
	icon?: string;
	event: string | number;
	text: string;
	disabled?: boolean;
	divider?: boolean;
}

export interface DropdownPropsType {
	popconfirm?: boolean;
	// the trigger mode which executes the drop-down action default ['hover']
	trigger?: Array<"contextmenu" | "click" | "hover">;
	dropMenuList?: DropMenu[] & Recordable[];
	selectedKeys?: string[];
}

export const DropdownPropsDefault = {
	trigger: ["contextmenu"],
	dropMenuList: [],
	selectedKeys: []
};
